#ifndef SELECTCOLLECTIONDIALOG_H
#define SELECTCOLLECTIONDIALOG_H
#include <QtSql>
#include <QDialog>
#include <QMap>
#include <QMessageBox>
#include <QCloseEvent>
#include <QStringList>
#include "ui_selectcollectiondialog.h"

class SelectCollectionDialog: public QDialog, private Ui::SelectCollectionDialog
{
Q_OBJECT

public:

SelectCollectionDialog( QStringList l, bool filter_set );
~SelectCollectionDialog();
QMap<QString, QString> return_selected();

public slots:

void select_album(QModelIndex index);
void delete_model();

signals:

void selected_album( QMap<QString, QString> );

private:

QMap<QString, QString> m;

protected:

void closeEvent(QCloseEvent * e);

};

#endif // SELECTCOLLECTIONDIALOG_H
